package com.gui.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gui.hospital.model.NumberSource;

import java.util.Date;
import java.util.List;


/**
 * @author 言叶
 * Date：2025/9/4
 */

public interface NumberSourceService extends IService<NumberSource> {
    /*
     * 根据时间、医生id查询预约信息
     * @param dateTime
     * @param doctorId
     * @return
     */
    List<NumberSource> findByTimeAndDoctorId(Date dateTime, Integer doctorId);
    /*
     * 更新预约状态
     * @param id
     * @param status
     * @return
     */
    boolean updateStatusById(Long id, Long status);
}
